﻿namespace ManagedChangeJournal.Native.Journal
{
    using System;
    using System.Runtime.InteropServices;

    /// <summary>
    /// READ_USN_JOURNAL_DATA structure
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    struct ReadData
    {
        public long StartUsn;
        public ChangeReason ReasonMask;
        public uint ReturnOnlyOnClose;
        public ulong Timeout;
        public ulong BytesToWaitFor;
        public ulong UsnJournalID;
    }
}
